num = list(map(int, input().split()))
print("[1] apple\n[2] pear\n[3] orange\n[4] grape\n[0] exit")
count = 1
while count<=5:
    n = num[count-1]
    if n==1:
        print("price = 3.00")
    elif n==2:
        print("price = 2.50")
    elif n==3:
        print("price = 4.10")
    elif n==4:
        print("price = 10.20")
    elif n==0:
        break
    else:
        print("price = 0.00")
    count+=1
